


<?php  

/*

Name:	独立下载页面系统
Author:	微夏博客网 vxia.net
QQ:		656536055
Notice: 版权所有，侵权必究！
Remind:	如需要修改，请尊重作者，保留版权，谢谢！

*/
header("Content-Type: text/html;charset=utf-8");

	// session开始  
    session_start();  
	
    $name = $_POST['name'];   
    $password = $_POST['password'];  
	
	$_SESSION['name'] = "test";
	$_SESSION['password'] = "666888";

    if ($password != $_SESSION['password'] && $name != $_SESSION['name']){
		echo "密码错误！";
		echo "<script>alert('密码错误'); history.go(-1);</script>";
		}
    else if ($password == $_SESSION['password'] && $name == $_SESSION['name']){
		$page="vxia.php";   
  		echo "<script>window.location = \"".$page."\";</script>";  
		}  
?> 